aliases:
- Obsidian+Publish/Customize+your+site
description: Learn how to customize the appearance and style of your Obsidian Publish site.
permalink: publish/customize
publish: true
This page explains how you can customize how your Obsidian Publish site looks and feels.
You can customize your site by publishing the following files to your site:
publish.css
to add custom CSSpublish.js
to add custom JavaScriptfavicon-32x32.png
to set the faviconNotes:
publish.css
and publish.js
must be located in the root directory (/
) of your vault.publish.css
and publish.js
don't appear in the file explorer, but you can still publish them from the Publish changes dialog.publish.js
, you need to Custom domains.For favicons, Obsidian Publish supports the following naming conventions, where 32
represents the icon's dimensions in pixels:
favicon-32.png
favicon-32x32.png
favicon.ico
We recommend that you provide one or more of the following dimensions:
favicon-32x32.png
favicon-128x128.png
favicon-152x152.png
favicon-167x167.png
favicon-180x180.png
favicon-192x192.png
favicon-196x196.png
You have flexibility in placing favicons anywhere within the vault, as long as they are published to your site.
To use one of the community themes for your site:
.obsidian
).themes
folder.publish.css
.publish.css
.Notes:
Can't find the theme for you? Learn how to Build a Publish theme yourself.
You can toggle several UI features for your site, such as the graph view or a table of contents.
Browse the available UI features under the Reading experience and Components sections in the site options
Within Obsidian Publish, you have the ability to customize the navigation order and display of files and folders within the Publish File explorer. Navigation items are listed in published order by default. Notes not published will not appear within this pane.
A new pop-up window titled Navigation will appear over your Change site options window.
In the section labeled Navigation preview, you can adjust the display order of your published content.
Publish will send your navigation changes to your site.
If there are notes or folders you have published, but you do not want visible within your Navigation, you can opt to hide those items instead.
Publish will send your navigation changes to your site.
Can I move files from one folder to another within the Navigation?
No. The file navigation structure for notes within folders needs to be maintained. You can adjust note order within folders (including the vault root), and folder order within other folders.
Can I edit the order of multiple notes and folders before selecting Done?
Yes.
How do I revert these changes?